<?php
header('Access-Control-Allow-Origin: *');
header('Content-type: plain/text');
if($_SERVER['REQUEST_METHOD'] == 'GET')
	echo 'NOW WE ARE TALKING GET:'.$_GET['msg'];
else
	echo 'NOW WE ARE TALKING POST:'.$_POST['msg'];
?>
